<template>
  <div>
    <el-container>
      <el-header style="background: blue;line-height: 60px;color: white">
        <span style="float: left;color: white">学生信息管理系统</span>
        <span style="float: right">
           <el-dropdown style="line-height: 60px">
    <span class="el-dropdown-link" style="color: white">
        个人中心
      <el-icon class="el-icon--right">
        <arrow-down />
      </el-icon>
    </span>
    <template #dropdown>
      <el-dropdown-menu>
        <el-dropdown-item>0</el-dropdown-item>
        <el-dropdown-item>退出系统</el-dropdown-item>
      </el-dropdown-menu>
    </template>
  </el-dropdown>
        </span>
      </el-header>
      <el-container>
        <el-aside width="190px">

              <el-menu style="width: 190px"
                  router
                  default-active="2"
                  class="el-menu-vertical-demo"
              >
                <el-sub-menu index="1">
                  <template #title>
                    <el-icon><location /></el-icon>
                    <span>学生管理</span>
                  </template>
                  <el-menu-item-group>
                    <el-menu-item index="/">学生列表</el-menu-item>
                  </el-menu-item-group>
                  <el-menu-item-group>
                    <el-menu-item index="/">测试</el-menu-item>
                  </el-menu-item-group>
                </el-sub-menu>
                <el-sub-menu index="2">
                  <template #title>
                    <el-icon><Setting /></el-icon>
                    <span>系统管理</span>
                  </template>

                </el-sub-menu>
              </el-menu>
        </el-aside>
        <el-main>
          <router-view/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
// @ is an alias to /src

import {Location} from '@element-plus/icons-vue'
import {Setting} from '@element-plus/icons-vue'


export default {
  name: 'HomeView',
  components: {
    Location,
    Setting
  },
  steup(){

  }
}
</script>
